import React from 'react';
import ReactDOM from 'react-dom';
import { Provider } from 'react-redux'
import Todolist from './Todolist'
import store from './store/index'



//此处包含redux的高级玩法
//从此以后所有的被provider包含的组件都具有了store这个东西
const App=(<Provider store={store}>
    <Todolist/>
</Provider>)


ReactDOM.render(App, document.getElementById('root'));

